home *** CD-ROM | disk | FTP | other *** search
- /* ADI.H
-
- Definitions common to all ADI device drivers, and to the coordinating
- generic AutoCAD drivers: DSGEN, DGGEN, PLGEN, PPGEN
- */
-
- /* Register communication structure */
- struct comreg {
- short code, arg1, arg2, arg3;
- short si, di, es, ds, ss, us, is, ps, ms, zs, qs;
- };
-
-
- /* Byte code packing/unpacking functions */
- #define msb(v) ((v >> 8) & 0xFF)
- #define lsb(v) (v & 0xFF)
- #define packbyte(x, y) ((x << 8) | y)